#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    int ret = Solution().Max({1, 2, 3, 4, 5, 6, 12, 3, 4, -1});
    if (ret == 12)
        cout << "测试用例1通过" << endl;
    else
        cout << "测试用例1未通过" << endl;
}

void Test2()
{
    int ret = Solution().Max({-1, -2, -3, -4, -5, -6, -12, -3, -4, -1});
    if (ret == -1)
        cout << "测试用例2通过" << endl;
    else
        cout << "测试用例2未通过" << endl;
}

int main()
{
    Test1();
    Test2();
}